package wicresoft.orm.entity;

import java.util.ArrayList;
import java.util.List;

public class JyCheckPlanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public JyCheckPlanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andApplyOrgIsNull() {
            addCriterion("APPLY_ORG is null");
            return (Criteria) this;
        }

        public Criteria andApplyOrgIsNotNull() {
            addCriterion("APPLY_ORG is not null");
            return (Criteria) this;
        }

        public Criteria andApplyOrgEqualTo(String value) {
            addCriterion("APPLY_ORG =", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgNotEqualTo(String value) {
            addCriterion("APPLY_ORG <>", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgGreaterThan(String value) {
            addCriterion("APPLY_ORG >", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_ORG >=", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgLessThan(String value) {
            addCriterion("APPLY_ORG <", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgLessThanOrEqualTo(String value) {
            addCriterion("APPLY_ORG <=", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgLike(String value) {
            addCriterion("APPLY_ORG like", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgNotLike(String value) {
            addCriterion("APPLY_ORG not like", value, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgIn(List<String> values) {
            addCriterion("APPLY_ORG in", values, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgNotIn(List<String> values) {
            addCriterion("APPLY_ORG not in", values, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgBetween(String value1, String value2) {
            addCriterion("APPLY_ORG between", value1, value2, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyOrgNotBetween(String value1, String value2) {
            addCriterion("APPLY_ORG not between", value1, value2, "applyOrg");
            return (Criteria) this;
        }

        public Criteria andApplyNameIsNull() {
            addCriterion("APPLY_NAME is null");
            return (Criteria) this;
        }

        public Criteria andApplyNameIsNotNull() {
            addCriterion("APPLY_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andApplyNameEqualTo(String value) {
            addCriterion("APPLY_NAME =", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotEqualTo(String value) {
            addCriterion("APPLY_NAME <>", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameGreaterThan(String value) {
            addCriterion("APPLY_NAME >", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_NAME >=", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLessThan(String value) {
            addCriterion("APPLY_NAME <", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLessThanOrEqualTo(String value) {
            addCriterion("APPLY_NAME <=", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLike(String value) {
            addCriterion("APPLY_NAME like", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotLike(String value) {
            addCriterion("APPLY_NAME not like", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameIn(List<String> values) {
            addCriterion("APPLY_NAME in", values, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotIn(List<String> values) {
            addCriterion("APPLY_NAME not in", values, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameBetween(String value1, String value2) {
            addCriterion("APPLY_NAME between", value1, value2, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotBetween(String value1, String value2) {
            addCriterion("APPLY_NAME not between", value1, value2, "applyName");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdIsNull() {
            addCriterion("ACCEPTED_ID is null");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdIsNotNull() {
            addCriterion("ACCEPTED_ID is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdEqualTo(String value) {
            addCriterion("ACCEPTED_ID =", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdNotEqualTo(String value) {
            addCriterion("ACCEPTED_ID <>", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdGreaterThan(String value) {
            addCriterion("ACCEPTED_ID >", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdGreaterThanOrEqualTo(String value) {
            addCriterion("ACCEPTED_ID >=", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdLessThan(String value) {
            addCriterion("ACCEPTED_ID <", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdLessThanOrEqualTo(String value) {
            addCriterion("ACCEPTED_ID <=", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdLike(String value) {
            addCriterion("ACCEPTED_ID like", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdNotLike(String value) {
            addCriterion("ACCEPTED_ID not like", value, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdIn(List<String> values) {
            addCriterion("ACCEPTED_ID in", values, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdNotIn(List<String> values) {
            addCriterion("ACCEPTED_ID not in", values, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdBetween(String value1, String value2) {
            addCriterion("ACCEPTED_ID between", value1, value2, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andAcceptedIdNotBetween(String value1, String value2) {
            addCriterion("ACCEPTED_ID not between", value1, value2, "acceptedId");
            return (Criteria) this;
        }

        public Criteria andBizCodeIsNull() {
            addCriterion("BIZ_CODE is null");
            return (Criteria) this;
        }

        public Criteria andBizCodeIsNotNull() {
            addCriterion("BIZ_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andBizCodeEqualTo(String value) {
            addCriterion("BIZ_CODE =", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeNotEqualTo(String value) {
            addCriterion("BIZ_CODE <>", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeGreaterThan(String value) {
            addCriterion("BIZ_CODE >", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeGreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE >=", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeLessThan(String value) {
            addCriterion("BIZ_CODE <", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeLessThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE <=", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeLike(String value) {
            addCriterion("BIZ_CODE like", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeNotLike(String value) {
            addCriterion("BIZ_CODE not like", value, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeIn(List<String> values) {
            addCriterion("BIZ_CODE in", values, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeNotIn(List<String> values) {
            addCriterion("BIZ_CODE not in", values, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeBetween(String value1, String value2) {
            addCriterion("BIZ_CODE between", value1, value2, "bizCode");
            return (Criteria) this;
        }

        public Criteria andBizCodeNotBetween(String value1, String value2) {
            addCriterion("BIZ_CODE not between", value1, value2, "bizCode");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNull() {
            addCriterion("APPLY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNotNull() {
            addCriterion("APPLY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeEqualTo(String value) {
            addCriterion("APPLY_TIME =", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotEqualTo(String value) {
            addCriterion("APPLY_TIME <>", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThan(String value) {
            addCriterion("APPLY_TIME >", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_TIME >=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThan(String value) {
            addCriterion("APPLY_TIME <", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThanOrEqualTo(String value) {
            addCriterion("APPLY_TIME <=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLike(String value) {
            addCriterion("APPLY_TIME like", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotLike(String value) {
            addCriterion("APPLY_TIME not like", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIn(List<String> values) {
            addCriterion("APPLY_TIME in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotIn(List<String> values) {
            addCriterion("APPLY_TIME not in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeBetween(String value1, String value2) {
            addCriterion("APPLY_TIME between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotBetween(String value1, String value2) {
            addCriterion("APPLY_TIME not between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNull() {
            addCriterion("SEND_TIME is null");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNotNull() {
            addCriterion("SEND_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andSendTimeEqualTo(String value) {
            addCriterion("SEND_TIME =", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotEqualTo(String value) {
            addCriterion("SEND_TIME <>", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThan(String value) {
            addCriterion("SEND_TIME >", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThanOrEqualTo(String value) {
            addCriterion("SEND_TIME >=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThan(String value) {
            addCriterion("SEND_TIME <", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThanOrEqualTo(String value) {
            addCriterion("SEND_TIME <=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLike(String value) {
            addCriterion("SEND_TIME like", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotLike(String value) {
            addCriterion("SEND_TIME not like", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeIn(List<String> values) {
            addCriterion("SEND_TIME in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotIn(List<String> values) {
            addCriterion("SEND_TIME not in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeBetween(String value1, String value2) {
            addCriterion("SEND_TIME between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotBetween(String value1, String value2) {
            addCriterion("SEND_TIME not between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andLabAddrIsNull() {
            addCriterion("LAB_ADDR is null");
            return (Criteria) this;
        }

        public Criteria andLabAddrIsNotNull() {
            addCriterion("LAB_ADDR is not null");
            return (Criteria) this;
        }

        public Criteria andLabAddrEqualTo(String value) {
            addCriterion("LAB_ADDR =", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrNotEqualTo(String value) {
            addCriterion("LAB_ADDR <>", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrGreaterThan(String value) {
            addCriterion("LAB_ADDR >", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrGreaterThanOrEqualTo(String value) {
            addCriterion("LAB_ADDR >=", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrLessThan(String value) {
            addCriterion("LAB_ADDR <", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrLessThanOrEqualTo(String value) {
            addCriterion("LAB_ADDR <=", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrLike(String value) {
            addCriterion("LAB_ADDR like", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrNotLike(String value) {
            addCriterion("LAB_ADDR not like", value, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrIn(List<String> values) {
            addCriterion("LAB_ADDR in", values, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrNotIn(List<String> values) {
            addCriterion("LAB_ADDR not in", values, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrBetween(String value1, String value2) {
            addCriterion("LAB_ADDR between", value1, value2, "labAddr");
            return (Criteria) this;
        }

        public Criteria andLabAddrNotBetween(String value1, String value2) {
            addCriterion("LAB_ADDR not between", value1, value2, "labAddr");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonIsNull() {
            addCriterion("ACCEPT_PERSON is null");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonIsNotNull() {
            addCriterion("ACCEPT_PERSON is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonEqualTo(String value) {
            addCriterion("ACCEPT_PERSON =", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonNotEqualTo(String value) {
            addCriterion("ACCEPT_PERSON <>", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonGreaterThan(String value) {
            addCriterion("ACCEPT_PERSON >", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonGreaterThanOrEqualTo(String value) {
            addCriterion("ACCEPT_PERSON >=", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonLessThan(String value) {
            addCriterion("ACCEPT_PERSON <", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonLessThanOrEqualTo(String value) {
            addCriterion("ACCEPT_PERSON <=", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonLike(String value) {
            addCriterion("ACCEPT_PERSON like", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonNotLike(String value) {
            addCriterion("ACCEPT_PERSON not like", value, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonIn(List<String> values) {
            addCriterion("ACCEPT_PERSON in", values, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonNotIn(List<String> values) {
            addCriterion("ACCEPT_PERSON not in", values, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonBetween(String value1, String value2) {
            addCriterion("ACCEPT_PERSON between", value1, value2, "acceptPerson");
            return (Criteria) this;
        }

        public Criteria andAcceptPersonNotBetween(String value1, String value2) {
            addCriterion("ACCEPT_PERSON not between", value1, value2, "acceptPerson");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}